w = []
n = input("请输入体重，以逗号分隔：")
lst1 = n.split(",")  # lst1用来存储输入的字符串
i = 0
while i <= len(lst1)+1:
    w.append(float(lst1.pop()))  # 将lst1的数据转换为整型并赋值给lst
    i += 1

def sum(list):
	s = 0
	for x in list:
		s += x
	return s
def average(list):
	avg = 0
	avg = sum(list)/(len(list)*1.0) #调用sum函数求和
	return avg

ave = average(w)
print(ave)
for i in w:
    if i > ave:
        print(i)